<include file="Public:header"/>


<link href="__PUBLIC__/Home/css/member_style.css" rel="stylesheet" type="text/css">
        <!--/*star*/-->
<div class="member-Info">
<ul class="proList">

                <foreach name="finfo" item="vo" > 
                <li>
                    <a name="2058"></a>
                    <div class="imgbox" >
                        <a mclassid="1477" class="isdetail" productid="2058" rel="go_proinfo" href="{:U('Home/Detail/index',array(fid=>$vo['id'],score=>$vo['score'],cid=>$cid,sellprice=>$vo['sprice']))}">
                            <span class="foodsnumber" style="display:none;">{$vo['id']}</span>                      
                            <img id="imageurl2058" src="{$vo['fpic']}" class="">
                        </a>
                    </div>
                    <h3 class="pname" style="border-left:1px ;"><a mclassid="1477" productid="2058" id="productName2058" rel="go_proinfo" href="javascript:">{$vo['name']}</a></h3>
                    <!-- <h4 class="Appraisal"><span class="star star_Yellow start_{$vo['score'] == 0 ? 5 : $vo['score']}" ></span></h4> -->
                    <h5 class="p_prict">
                        <span><b>￥{$vo['price']}</b></span>
                        <span style="display:none">{$vo['id']}</span><span style="display:none">{$vo['sprice']}</span>
                    </h5>
                    <h5 class="p_prict" style="margin-top:0px;">
                        <span style="text-decoration :line-through">
                        <if condition="$vo['issell'] eq 1 ">
                            原价&nbsp;&nbsp;{$vo['price']}
                        </if>
                        </span>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <span>浏览次数&nbsp;&nbsp;{$vo['fnumber']}</span>
                    </h5>
                </li>
                </foreach>

            </ul>
</div>
               
            <div class="modify_infor" style="padding-left:0">
            
            </div>
              
           
           
    
<style type="text/css">
.m-f-name {width: 70px;  text-align: left;padding-left:30px;}
</style>
<script type="text/javascript" src="__PUBLIC__/Home/Scripts/jquery.js"></script>
<script type="text/javascript">
    //声明全局变量检测input的值 是否输入正确
        var CEMAIL = false;
        var ADDRESS = false;
        var TRUENAME = false;
        // /检测邮箱
        $('#youxiang11').blur(function(){
            // alert(222);
            //获取邮箱的值
            var email = $(this).val();
            // alert(email);
            //正则表达式
            var reg = /^\w+@\w+\.(com|cn|com\.cn|net|org|hk|edu)$/;
            //检测
            if(!reg.test(email)){
                // alert($);
                $(this).addClass('error');
                $('#email').html('邮箱的格式错误').css('color','red');
                CEMAIL = false;
            }else{
                $(this).removeClass('error');
                $('#email').html('√').css('color','green');
                CEMAIL = true;
            }
        })
        //检测地址
        $('#dizhi11').blur(function(){
            // alert(222);
            var address = $(this).val();
            if(address.length==0){
                // alert(222);
                $(this).addClass('error');
                $('#address').html('地址不能为空').css('color','red');
                ADDRESS = false;
            }else{
                $(this).removeClass('error');
                $('#address').html('√').css('color','green');
                ADDRESS = true;
            }
        })
         //检测真实姓名
        $('#zhenshi11').blur(function(){
            var truename = $(this).val();
            if(truename.length==0){
                $(this).addClass('error');
                $('#truename').html('真实姓名不能为空').css('color','red');
                TRUENAME = false;
            }else{
                $(this).removeClass('error');
                $('#truename').html('√').css('color','green');
                TRUENAME = true;
            }
        })
         $('#tijiao').click(function(){
            // alert(222);
            //脚本中触发丧失焦点事件
            $('#zhenshi11').trigger('blur');
            // alert(TRUENAME);
            
            $('#dizhi11').trigger('blur');

            $('#youxiang11').trigger('blur');
            // alert(CEMAIL);
            // alert(CEMAIL);
            if(CEMAIL && ADDRESS && TRUENAME){
                return true;
            }
            //阻止默认行为
            // alert('请再次填写');
            return false;
        })
    </script>


       
    <script type="text/javascript" src="__PUBLIC__/Home/Scripts/jquery.SuperSlide.2.1.1.js"></script>

<div class="btline"></div>
<div class="footer">
    <div class="er_img">
        <img src="__PUBLIC__/Home/images/er_img.jpg" />
        <b>扫描下载订餐APP</b>
    </div>
    <span class="bt_logo"><img src="__PUBLIC__/Home/images/201604091048.jpg" /></span>
    <ul class="bt_link">
        <foreach name="info" item="vo" >   
        <li><a href="http://{$vo['url']}" target="_blank"><img src="{$vo['friendpic']}" style="width:30px;height:30px;border-radius: 50%;"/><span>{$vo['title']}</span></a></li>  
        </foreach>
    </ul>
    <div class="bt_p">
        <p class="p_a"><a href="{:U('./Home/Us/us')}">联系方式</a>|<a href="{:U('./Home/Law/law')}">法律条款</a>|<a href="{:U('./Home/Contact/contact')}">联系我们</a><p>
        <p>{$web['0']['icpno']}</p>
        <p>手机号:{$web['0']['webphone']}</p>
        <p>邮箱:{$web['0']['webemail']}</p>
    </div>
</div>





</body>
</html>
